<template>
	<view class="all-box containers"  >
		<view v-if="netWorkType!='none'">
			 
			<view class="container tui-skeleton">
				<view>
					<image class="publicImg" :src="OSS_HOST+path+'.png'" mode="widthFix" style="display: block;"></image>
				</view>
			</view>
		</view>
		<!-- 登录弹窗 -->
		<uni-popup-vlogin id="popupvLogin" ref="popupvLogin" type="bottom" />

	</view>
</template>
<script>
	import {oss_host} from '@/config/config.js';
	import Vue from 'vue'
	import store from '@/store/index.js';
	// 公共底部
	import btabbar from '@/components/indexBottomTable/bottomtabbar.vue'
	import {
		mapGetters
	} from 'vuex';
	export default {
		components: {
			btabbar
		},
		computed: {
			//注册网络状态
			...mapGetters(['netWorkType', 'loginStatus'])
		},
		data() {
			return {
			 
				OSS_HOST: oss_host,
				// 骨架屏
				skeletonShow: true,
				fromFather: {
					member_id: '',
				},
				page: {
					currentPage: 1,
					size: 10,
				},
				images:{
					sp:'introduct',
					glu:'glu_result',
					ua:'uricacid'
				},	
				path:'',
				data: {
					list_key:[],
					list: []
				}
			}
		},
		
		onLoad(e) {
			 
			switch(parseInt(e.product_type)){
				case 1:
					this.path = 'img/'+this.images.sp;
					break;
				case 3:
					this.path = 'health/'+this.images.glu;
				 
					break;
				case 4:
					this.path = 'health/'+this.images.ua;
					break;
			}
			
		},
		onShow() {
			

		},
		methods: {
		
			

		}
	}
</script>

<style lang="scss">
	@import "./test_result.scss";
</style>
